package com.bcbim.smart_water_interface.line.VO;

import com.bcbim.common.response.annotation.TranslationField;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @version V 1.0.0
 * @Description： 管线数据用于展示剖面图的
 * @Author: haomeijie
 * @Date: 2021/11/10 10:01
 **/
@Data
@Accessors(chain = true)
public class PipelineVO implements Serializable {

    private String code; //管线编号

    private String startPointId; //起始点

    private String startPointCode; //起始点号

    private String endPointId;   //终止点

    private String endPointCode;   //终止点号

    private BigDecimal startHigh;//起始点高程

    private BigDecimal endHigh;//终止点高程

    private BigDecimal startBury;//起始点埋深

    private BigDecimal endBury;//终止点埋深

    @TranslationField(typeFlag = "usesType")
    private String uses;//用途( 1合流 2污水 3雨水)

    private double pipeDiameter;//管径

    private String startLat; //起始点纬度

    private String startLon; //起始点精度

    private String endLat;   //终止点纬度

    private String endLon;   //终止点精度
}
